package com.ruoyi.system.service.module.wx.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.system.domain.module.wx.UserIntegralRecord;
import com.ruoyi.system.domain.module.excel.IntegralRecordExcel;
import com.ruoyi.system.mapper.module.wx.UserIntegralRecordMapper;
import com.ruoyi.system.service.module.wx.IUserIntegralRecordService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * 用户的积分记录Service业务层处理
 *
 * @author ruoyi
 * @date 2021-08-11
 */
@Service
public class UserIntegralRecordServiceImpl extends ServiceImpl<UserIntegralRecordMapper, UserIntegralRecord> implements IUserIntegralRecordService {

    @Resource
    private UserIntegralRecordMapper recordMapper;

    @Override
    public List<IntegralRecordExcel> selectTotalByTime(Map<String, Object> map) {
        return recordMapper.selectTotalByTime(map);
    }

	@Override
	public IntegralRecordExcel selectTongjiByEstateId(Map<String, Object> map) {
		return recordMapper.selectTongjiByEstateId(map);
	}
}
